package com.alks.function.service;

import com.alks.function.data.dto.CollectionPointDto;
import com.alks.function.data.request.yield.CollectionPointRequest;

import java.math.BigDecimal;
import java.util.concurrent.Future;

public interface OrderAsyncService {

    Future<Long> getCollectionTotal(CollectionPointDto dto, CollectionPointRequest request);

    Future<BigDecimal> getCollectionOrders(CollectionPointDto dto, CollectionPointRequest request);
}
